<template>
    <div class="header">
      <div style="text-align: left;">
	    	<router-link to="home">
	    		<el-button type="success">首页</el-button>
	    	</router-link>
	      <router-link to="about">
	    		<el-button type="success">about</el-button>
	      </router-link>
	      <router-link to="foo">
	    		<el-button type="success">foo</el-button>
	    	</router-link>
	      <router-link to="bar">
	    		<el-button type="success">bar</el-button>
	      </router-link>
      </div>
  </el-alert>
    </div>
</template>

<script>
export default {
  name: 'header_v',
  methods:{
  	home:function(){
  		console.log(document)
  	}
  }
}
</script>

<style scoped>

</style>